# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor:  Gour <gour@mail.inet.hr>

pkgname=emacs-muse
pkgver=3.20.2
pkgrel=1
pkgdesc="Publishing environment for Emacs"
url="https://www.gnu.org/software/emacs-muse/index.html"
arch=('any')
license=('GPL3')
depends=('emacs')
install=${pkgname}.install
#source=("$pkgname-$pkgver.tar.gz::https://github.com/alexott/muse/archive/v$pkgver.tar.gz")
source=("https://elpa.gnu.org/packages/muse-$pkgver.tar")
sha256sums=('96a39d0115e26e643f2cf4646521f4522429d7983a8c3b6d2b53f442ba714e3c')

package() {
  cd "$srcdir"/muse-$pkgver
  mkdir -p "$pkgdir"/usr/share/emacs/site-lisp/muse "$pkgdir"/usr/share/info
  cp *.el "$pkgdir"/usr/share/emacs/site-lisp/muse/
  cp *.info "$pkgdir"/usr/share/info/
}
